package com.bingxue.edu.management.shop.model.query;

import com.bingxue.edu.framework.mybatis.query.Query;
import com.bingxue.edu.framework.mybatis.query.QueryType;
import com.bingxue.edu.management.shop.model.entity.Refund;
import com.mybatisflex.annotation.TableRef;
import lombok.Data;

import java.time.LocalDate;
import java.util.List;

/**
 * @author panbo
 * @since 2024/11/28
 */
@Data
@TableRef(Refund.class)
public class RefundRecordQuery {

    @Query(type = QueryType.GE, field = "refundTime")
    private LocalDate dateFrom;

    @Query(type = QueryType.LT, field = "refundTime")
    private LocalDate dateTo;

    @Query(type = QueryType.IN)
    private List<String> finAccountId;

    private String studentId;
}
